﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace UACManager
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            using (LoginForm lf = new LoginForm())
            {
                if (lf.ShowDialog() == DialogResult.OK)
                    Application.Run(new MainForm(lf.UserName));
            }
        }
    }
}
